﻿package Message.Game
{
    import Framework.MQ.*;
    import Framework.Serialize.*;
    import flash.utils.*;

    public class SShopBuyPlayerMsg extends IMessageBase
    {
        public var buyRecords:Dictionary;
        public const _type:int = 15078;
        public static var _regist:SShopBuyPlayerMsg = new SShopBuyPlayerMsg(true);

        public function SShopBuyPlayerMsg(param1:Boolean = false)
        {
            if (param1)
            {
                MessageManager.instance().regist(this);
            }
            return;
        }// end function

        override public function getType() : int
        {
            return this._type;
        }// end function

        override public function clone() : IMessageBase
        {
            return new SShopBuyPlayerMsg();
        }// end function

        override public function __write(param1:SerializeStream) : void
        {
            DictDictShopBuyPlayerInfoHelper.write(param1, this.buyRecords);
            return;
        }// end function

        override public function __read(param1:SerializeStream) : void
        {
            this.buyRecords = DictDictShopBuyPlayerInfoHelper.read(param1);
            return;
        }// end function

    }
}
